package com.azure;

import com.azure.entity.User;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

@Component
public class AzureFactoryBean  implements FactoryBean<User> {
	@Override
	public User getObject() throws Exception {
		User user = new User();
		user.setName("test..");
		return user;
	}

	@Override
	public Class<?> getObjectType() {
		return User.class;
	}
}
